package backend.rss.items;

public class SwatchItem implements Item
{
	private String id;
	
	private String mode;
	private float c1;
	private float c2;
	private float c3;
	private float c4;
	private String hex;
	
	public SwatchItem(String id, String hex)
	{
		this.id		= id;
		this.hex	= hex;
	}
	public SwatchItem(String id, String mode, String hex, float c1, float c2, float c3, float c4)
	{
		this.id 	= id;
		this.mode	= mode;
		this.hex 	= hex;
		this.c1		= c1;
		this.c2		= c2;
		this.c3		= c3;
		this.c4		= c4;
	}
	
	public String getId()
	{
		return id;
	}

	/**
	 * @return the hex
	 */
	public String getHex()
	{
		return hex;
	}
	
	/**
	 * @return the mode
	 */
	public String getMode()
	{
		return mode;
	}
	/**
	 * @return the c1
	 */
	public float getC1()
	{
		return c1;
	}

	/**
	 * @return the c2
	 */
	public float getC2()
	{
		return c2;
	}

	/**
	 * @return the c3
	 */
	public float getC3()
	{
		return c3;
	}

	/**
	 * @return the c4
	 */
	public float getC4()
	{
		return c4;
	}

	public String toString()
	{
		return "SwatchItem id:"+ getId()+"\n"+
			   			  "hex:"+getHex()+"\n"+
			   			  "mode:"+getMode()+"\n"+
			   			  getC1()+":"+getC2()+":"+getC3()+":"+getC4()+"\n";
	}
}
